package com.ruoyi.order.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 卖品订单套餐明细信息对象 goods_order_combo_info
 *
 * @author HYANFENG
 * @date 2021-03-17
 */
@TableName("goods_order_combo_info")
public class GoodsOrderComboInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id")
    private Long id;
    /** 卖品订单商品信息ID */
    @Excel(name = "卖品订单商品信息ID")
    private Long goodsOrderGoodsInfoId;
    /** 卖品编码 */
    @Excel(name = "卖品编码")
    private String goodsCode;
    /** 卖品名称 */
    @Excel(name = "卖品名称")
    private String goodsName;
    /** 卖品数量 */
    @Excel(name = "卖品数量")
    private Long goodsCount;
    /** 卖品所属套餐分组 */
    @Excel(name = "卖品所属套餐分组")
    private String groupId;
    /** 卖品所属套餐分组名称 */
    @Excel(name = "卖品所属套餐分组名称")
    private String groupName;
    /** 卖品⾦额 */
    @Excel(name = "卖品⾦额")
    private Long goodsPrice;
    /** 卖品加价 */
    @Excel(name = "卖品加价")
    private Long extraMoney;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsOrderGoodsInfoId(Long goodsOrderGoodsInfoId)
    {
        this.goodsOrderGoodsInfoId = goodsOrderGoodsInfoId;
    }

    public Long getGoodsOrderGoodsInfoId()
    {
        return goodsOrderGoodsInfoId;
    }
    public void setGoodsCode(String goodsCode)
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode()
    {
        return goodsCode;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsCount(Long goodsCount)
    {
        this.goodsCount = goodsCount;
    }

    public Long getGoodsCount()
    {
        return goodsCount;
    }
    public void setGroupId(String groupId)
    {
        this.groupId = groupId;
    }

    public String getGroupId()
    {
        return groupId;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setGoodsPrice(Long goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public Long getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setExtraMoney(Long extraMoney)
    {
        this.extraMoney = extraMoney;
    }

    public Long getExtraMoney()
    {
        return extraMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsOrderGoodsInfoId", getGoodsOrderGoodsInfoId())
            .append("goodsCode", getGoodsCode())
            .append("goodsName", getGoodsName())
            .append("goodsCount", getGoodsCount())
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("goodsPrice", getGoodsPrice())
            .append("extraMoney", getExtraMoney())
            .toString();
    }
}
